package com.danciyixue.boot.dcyx.converter;

import com.danciyixue.boot.dcyx.model.vo.ProgramsVO;
import org.mapstruct.Mapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.danciyixue.boot.dcyx.model.entity.Programs;
import com.danciyixue.boot.dcyx.model.form.ProgramsForm;

/**
 * 教材信息对象转换器
 *
 * @author youlaitech
 * @since 2025-06-15 16:24
 */
@Mapper(componentModel = "spring")
public interface ProgramsConverter{

    ProgramsForm toForm(Programs entity);

    Programs toEntity(ProgramsForm formData);

    ProgramsVO toVO(Programs entity);
}
